/**
 * Created by Administrator on 2016/3/23.
 */
define([
    'angular',
    'app/modules/index/define'
], function (angular) {
    angular.module('ad.index')
        .controller('adResourceFolderEditController', ['$scope', '$uibModalInstance', 'item'
            , function ($scope, $uibModalInstance, item) {

                $scope.folderName = item.folderName;

                $scope.ok = function () {
                    $uibModalInstance.close($scope.folderName);
                };

                $scope.cancel = function () {
                    $uibModalInstance.dismiss('cancel');
                };
            }]);
});